SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 51850: The SASEHAVR LIBNAME engine generates error messages when run in batch mode

DetailsAboutRate It

Error messages like the following might be generated when using the SASEHAVR LIBNAME engine in batch mode:

ERROR: Image SASEHAVR found but not loadable.
ERROR: Operating system error 161 occurred.
ERROR: Error in the LIBNAME statement.

These errors can occur even when the SASEHAVR LIBNAME engine is used successfully in an interactive SAS® session.

To resolve the problem, follow these steps to change the Windows registry:

Warning: Changes in the Windows registry can render your system unusable and require that you reinstall the operating system. Always back up your registry before you make any registry changes. For assistance, see Windows Help, Microsoft documentation, or the Microsoft Windows website. SAS is not responsible when you edit the Windows registry.

  1. Open the Windows Registry Editor:
    1. Select Start ► Run.
    2. Enter regedit in the search box.
  2. Navigate to HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\App Paths.
  3. Look for the key SAS.EXE. There are two entries under SAS.EXE. Remove the quotation marks from the beginning and end of the paths for both entries.
  4. Reboot your Windows PC and submit the SAS code in batch mode.


  5. Operating System and Release Information

    Product FamilyProductSystemSAS Release
    ReportedFixed*
    SAS SystemBase SASMicrosoft Windows Server 20089.3 TS1M09.4 TS1M1
    Microsoft Windows Server 2003 for x649.3 TS1M0
    Microsoft Windows Server 2003 Standard Edition9.3 TS1M0
    Microsoft Windows Server 2003 Enterprise Edition9.3 TS1M0
    Microsoft Windows Server 2003 Datacenter Edition9.3 TS1M0
    Microsoft® Windows® for x649.3 TS1M09.4 TS1M1
    Microsoft Windows Server 2008 R29.3 TS1M09.4 TS1M1
    Microsoft Windows Server 2008 for x649.3 TS1M09.4 TS1M1
    Microsoft Windows XP Professional9.3 TS1M0
    Windows 7 Enterprise 32 bit9.3 TS1M0
    Windows 7 Enterprise x649.3 TS1M09.4 TS1M1
    Windows 7 Home Premium 32 bit9.3 TS1M0
    Windows 7 Home Premium x649.3 TS1M0
    Windows 7 Professional 32 bit9.3 TS1M0
    Windows 7 Professional x649.3 TS1M09.4 TS1M1
    Windows 7 Ultimate 32 bit9.3 TS1M0
    Windows 7 Ultimate x649.3 TS1M0
    Windows Vista9.3 TS1M0
    Windows Vista for x649.3 TS1M0
    * For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.